The TR element acts as a container for a row of table cells defined with the TH or TD elements. You can set default horizontal and vertical alignment of cell contents for the row. You also have the ability to disable word wrap for the row, and thereafter use the <BR> element to determine line breaks and hence cell widths.
ID
An SGML identifier used as the target for hypertext links or for naming particular elements in
associated style sheets. Identifiers are NAME tokens and must be unique within the scope of the current
document.
LANG
This is one of the ISO standard language abbreviations, e.g. "en.uk" for the variety of
English spoken in the United Kingdom. It can be used by parsers to select language specific choices for
quotation marks, ligatures and hyphenation rules. The language attribute is composed from the two letter
language code from ISO 639, optionally followed by a period and a two letter country code from ISO
3166.
CLASS
This a space separated list of SGML NAME tokens and is used to subclass tag names. By
convention, class names are interpreted hierarchically, with the most general class on the left and the most
specific on the right, where classes are separated by a period. The CLASS attribute is most commonly used
to attach a different style to some element, but it is recommended that where practical class names should be
picked on the basis of the element's semantics, because this permitsother uses, such as restricting search
through documents by matching on element class names. The conventions for choosing class names are
outside the scope of this document.
ALIGN
The ALIGN attribute can be used to explicitly specify the horizontal alignment of paragraphs within
a table row:
DP
This specifies the character to be used for the decimal point with the ALIGN attribute, e.g.
dp="." (the default) or dp=",". The default may be altered by the language context,
as set by the LANG attribute on enclosing elements.
VALIGN
The VALIGN attribute can be used to explicitly specify the vertical alignment of material within a
table row. It is overridden by the VALIGN attribute on individual cells:
NOWRAP
The NOWRAP attribute is used when you don't want the browser to automatically wrap lines. You
can then explicitly specify line breaks in paragrphs using the BR element.
<TR> is legal within:
<TABLE>
The following markup can be used within <TR>
<TH>, <TD>
<TABLE>
<CAPTION>A nice table</CAPTION>
<TR><TH>This</TH><TH>That</TH></TR>
<TR><TD>1</TD><TD>2</TD></TR>
</TABLE>